package com.management.service;

import com.management.controller.form.*;
import com.management.model.ProjectInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.management.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙世超
 * @since 2022-03-23
 */
public interface ProjectInfoService extends IService<ProjectInfo> {

    Result getAllProjects(ProjectPageForm projectPageForm);

    Result addProject(AddProjectForm addProjectForm);



    Result findAllProject();

    Result closeProject(Integer projectId);

    Result findProjectByName(GetProjectByNameForm getProjectByNameForm);

    Result changeProject(ChangeProjectForm changeProjectForm);

    Result checkProjectState(Integer projectId);

    Result getMyProjectDesc(GetMyProjectDescForm getMyProjectDescForm);
}
